package com.xueyi.system.BaseMyMsg.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.BaseMyMsg.domain.dto.BaseMyMsgDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

import java.time.LocalDateTime;

/**
 * 我的消息 持久化对象
 *
 * @author xueyi
 */
@TableName(value = "base_my_msg", excludeProperty = {"name"})
public class BaseMyMsgPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /** 类型 */
@Excel(name = "类型")
@TableField("type")
private String type;

    /** 内容 */
@Excel(name = "内容")
@TableField("content")
private String content;

    /** 时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
@TableField("date")
private LocalDateTime date;

    /** 接收人id */
@Excel(name = "接收人id")
@TableField("receive_id")
private String receiveId;

    /** 接收人 */
@Excel(name = "接收人")
@TableField("receive_user")
private String receiveUser;

    /** 接收状态 */
@Excel(name = "接收状态")
@TableField("receive_status")
private String receiveStatus;

    /** 推送人id */
@Excel(name = "推送人id")
@TableField("pusher_id")
private String pusherId;

    /** 推送人 */
@Excel(name = "推送人")
@TableField("pusher")
private String pusher;

public void setType(String type) {
    this.type = type;
}

public String getType() {
    return type;
}

public void setContent(String content) {
    this.content = content;
}

public String getContent() {
    return content;
}

public void setDate(LocalDateTime date) {
    this.date = date;
}

public LocalDateTime getDate() {
    return date;
}

public void setReceiveId(String receiveId) {
    this.receiveId = receiveId;
}

public String getReceiveId() {
    return receiveId;
}

public void setReceiveUser(String receiveUser) {
    this.receiveUser = receiveUser;
}

public String getReceiveUser() {
    return receiveUser;
}

public void setReceiveStatus(String receiveStatus) {
    this.receiveStatus = receiveStatus;
}

public String getReceiveStatus() {
    return receiveStatus;
}

public void setPusherId(String pusherId) {
    this.pusherId = pusherId;
}

public String getPusherId() {
    return pusherId;
}

public void setPusher(String pusher) {
    this.pusher = pusher;
}

public String getPusher() {
    return pusher;
}

}
